﻿
$.MGJ.SliptCase = [];

(function () {
    var _this = $.MGJ.SliptCase;
    $.extend($.MGJ.SliptCase, {


    });
})(jQuery);
(function () {
    var _this = $.MGJ.SliptCase;
    $.extend($.MGJ.SliptCase, {
        Ajax_SliptCase: function (BoxCode) {
            var bootstrapValidator = $("#InfoForm").data('bootstrapValidator').validate();//触发全部验证
            if (bootstrapValidator.isValid()) {

                $.L.ajaxHandle({
                    url: ACTION_URL("DoOfSliptCase", "FleeGoods"),
                    data: {
                        code: BoxCode
                    },
                    success: function (response) {
                        $.L.msgSuccess(response);

                    }
                });

            }
            else {
                $.L.msgError("请检查数据格式！");
            };
        },

    });
})(jQuery);
